package com.rabbiter.association.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 数据实体类
 * 成员信息
 */
@Data
@TableName(value = "members")
@ApiModel(description = "成员实体")
public class Members implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "id")
    @ApiModelProperty(value = "记录ID")
    private String id;

    /**
     * 入团时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    /**
     * 加入社团
     */
    @TableField(value = "team_id")
    @ApiModelProperty(value = "社团ID")
    private String teamId;

    /**
     * 申请用户
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "用户ID")
    private String userId;


    @Override
    public String toString() {

        return "Members [id=" + id
                + ", createTime=" + createTime
                + ", teamId=" + teamId
                + ", userId=" + userId
                + "]";
    }


}